import Vue from 'vue'
import App from './App.vue'
// import Button from './components/button.vue'
// import Dialog from './components/dialog.vue'
// import Input from './components/input.vue'
// import Switch from './components/switch.vue'
// import Radio from './components/radio.vue'
// import radioGroup from './components/radioGroup.vue'
// import hmCheckbox from './components/checkbox.vue'
// import checkboxGroup from './components/checkGroup.vue'
// import form from './components/form.vue'
// import formItem from './components/formItem.vue'

// // 字体图标
// import './assets/fonts/font.scss'


//使用组件的名字
// Vue.component(Button.name,Button)
// Vue.component(Dialog.name,Dialog)
// Vue.component(Input.name,Input)
// Vue.component(Switch.name,Switch)
// Vue.component(Radio.name,Radio)
// Vue.component(radioGroup.name,radioGroup)
// Vue.component(hmCheckbox.name,hmCheckbox)
// Vue.component(checkboxGroup.name,checkboxGroup)
// Vue.component(form.name,form)
// Vue.component(formItem.name,formItem)

import hongmengUI from "../packages/index.js"
Vue.use(hongmengUI)

//提示框测试
import notice from "./components/notice"
Vue.prototype.$notice = notice

//树形组件测试
import tree from "./components/tree/tree.vue"
Vue.component(tree.name,tree)

//手风琴测试
import collapse from "./components/collapse.vue"
import collapseItem from "./components/collapseItem.vue"
Vue.component(collapse.name,collapse)
Vue.component(collapseItem.name,collapseItem)


Vue.config.productionTip = false

new Vue({
  render: h => h(App),
}).$mount('#app')